<?php
/**
 * @file $HeadURL: eventclass.php $
 * @author $Author: DongJC (dongjianchang@haibao.com) $
 * @brief 
 */
namespace haibao\cms\model\data;

class EventClass extends Base{
	/**
	 * 顶级分类id值
	 */
	const ROOT_PARENT_ID = 0;
	
	public $CategoryName;
	public $CategoryNameMap = array();
	public $ParentId ;
	
	public function __construct() {
		parent::__construct ();
		$this->stringField ( 'CategoryName', 'CategoryName', true );
		$this->intField( 'ParentId', 'ParentId', true );
		
		$this->setTableName('EventCategoryDefine');
	}
	
}
